package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 用户组局(UserGroup)表实体类
 *
 * @author ye
 * @since 2021-10-26 18:12:51
 */
@SuppressWarnings("serial")
@Data
@TableName("user_group")
public class UserGroup extends Model<UserGroup> {

    @TableId(type = IdType.UUID)
    private String userGroupId;
    //组局id
    private String groupId;
    //用户id
    private String userId;
    //店铺id(冗余字段)
    private String shopId;
    //剧本id(冗余字段)
    private String scriptId;
    //主持人id
    private String masterId;
    //是否买单 0 否 1 是
    private Integer isPay;
    //加入时间
    private Date createdTime;
}